<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>demo-icon-center</title>
    <style>
      * {
        box-sizing: border-box;
      }
      .c {
        display: flex;
        height: 300px;
        min-width: 600px;
        border: 1px solid #000;
        justify-content: center;
        align-items: center;
      }
      .box {
        height: 100px;
        flex: 1;
        border: 1px solid red;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      .box > img {
        width: 80px;
        height: 80px;
      }
    </style>
  </head>
  <body>
    <div class="c">
      <div class="box">
        <img src="./img/compass.png" alt="" />
      </div>
      <div class="box">
        <img src="./img/taobao.png" alt="" />
      </div>
      <div class="box">
        <img src="./img/iQiyi.png" alt="" />
      </div>
      <div class="box">
        <img src="./img/warn.png" alt="" />
      </div>
    </div>
  </body>
</html>
